import java.util.Scanner;

/**
 * @TODO
 * @Author xu
 * 2025/2/21
 */
public class work2 {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        System.out.print("请输入一个整数：");
        int number = scanner.nextInt();
        System.out.println("原始值: " + number);
        int a = number++;
        System.out.println("自增后值: " + number);
        int b = --number;
        System.out.println("自减后值: " +number);

    }
}
